import reshandler from 'services/response-handler'
/*
 * 城市列表 通过areaid获取
 */
function makeData(citylist) {
        return {
            citys: citylist.areaDatas
        }
}
export default function (params, success, fail) {
    this.$.get(params).then(reshandler.success(success, fail, makeData), reshandler.error(fail))
}
